package cn.szzsi.business.service;

import cn.szzsi.model.CompanyAuthLog;

import java.util.Date;

/**
 * Created by admin on 2017/6/28.
 */
public class CompanyAuthLogService {
    public static final CompanyAuthLogService service=new CompanyAuthLogService();

    /**
     * 审核日志
     * @param action 动作
     * @param auditor 审核人
     * @param result 审核结果
     * @param remark 备注
     */
    public void saveInfo(String companyInfoId,String action,String auditor,String result,String remark){
        CompanyAuthLog cal=new CompanyAuthLog();
        cal.setCompanyInfoId(companyInfoId);
        cal.setAction(action);
        cal.setAuditor(auditor);
        cal.setResult(result);
        cal.setRemark(remark);
        cal.setCreateDate(new Date());
        cal.save();

    }
}
